package org.spiderdesign.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import java.util.Date;

@TableName("sp_flow_history")
public class SpiderFlowHistory {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String spiderFlowId;

    private String xmlContent;

    private LocalDateTime createTime;

    public SpiderFlowHistory() {
    }

    public SpiderFlowHistory(String id, String xmlContent, String spiderFlowId) {
        this.id = id;
        this.xmlContent = xmlContent;
        this.spiderFlowId = spiderFlowId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSpiderFlowId() {
        return spiderFlowId;
    }

    public void setSpiderFlowId(String spiderFlowId) {
        this.spiderFlowId = spiderFlowId;
    }

    public String getXmlContent() {
        return xmlContent;
    }

    public void setXmlContent(String xmlContent) {
        this.xmlContent = xmlContent;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedByUid() {
        return createdByUid;
    }

    public void setCreatedByUid(String createdByUid) {
        this.createdByUid = createdByUid;
    }

    private String createdBy;

    private String createdByUid;
}